package com.sxt.dao;

import com.sxt.pojo.User;

/**
 * @Description:
 * @author: Mr.T
 * @date 2020-11-06 10:31
 */
public class VisitLogDao extends BaseDao {


    public void insert(String customerId, String name, String visitTime, String descp, User user) {
        String sql = "insert into visit_log (user_id,realname,customer_id,name,visit_time,descp) value(?,?,?,?,?,?)";
        super.update(sql,user.getId(),user.getRealname(),customerId,name,visitTime,descp);
    }
}
